/**
 * 
 */
package com.uit.project.bustrip.valueobject;

/**
 * @author Nguyen
 *
 */
public class QueryOption {
	private String table;
	private String[] columns;
	private String selection;
	private String[] selectionArgs;
	private String groupBy;
	private String having;
	private String orderBy;
	private String limit;
	public QueryOption(){
		this.table = null;
		this.columns = null;
		this.selection = null;
		this.selectionArgs = null;
		this.groupBy = null;
		this.having = null;
		this.orderBy = null;
		this.limit = null;
	}
	/**
	 * @param table
	 * @param columns
	 * @param selection
	 * @param selectionArgs
	 * @param groupBy
	 * @param having
	 * @param orderBy
	 * @param limit
	 */
	public QueryOption(String table, String[] columns, String selection,
			String[] selectionArgs, String groupBy, String having,
			String orderBy, String limit) {
		this.table = table;
		this.columns = columns;
		this.selection = selection;
		this.selectionArgs = selectionArgs;
		this.groupBy = groupBy;
		this.having = having;
		this.orderBy = orderBy;
		this.limit = limit;
	}
	/**
	 * @return the table
	 */
	public String getTable() {
		return table;
	}
	/**
	 * @param table the table to set
	 */
	public void setTable(String table) {
		this.table = table;
	}
	/**
	 * @return the columns
	 */
	public String[] getColumns() {
		return columns;
	}
	/**
	 * @param columns the columns to set
	 */
	public void setColumns(String[] columns) {
		this.columns = columns;
	}
	/**
	 * @return the selection
	 */
	public String getSelection() {
		return selection;
	}
	/**
	 * @param selection the selection to set
	 */
	public void setSelection(String selection) {
		this.selection = selection;
	}
	/**
	 * @return the selectionArgs
	 */
	public String[] getSelectionArgs() {
		return selectionArgs;
	}
	/**
	 * @param selectionArgs the selectionArgs to set
	 */
	public void setSelectionArgs(String[] selectionArgs) {
		this.selectionArgs = selectionArgs;
	}
	/**
	 * @return the groupBy
	 */
	public String getGroupBy() {
		return groupBy;
	}
	/**
	 * @param groupBy the groupBy to set
	 */
	public void setGroupBy(String groupBy) {
		this.groupBy = groupBy;
	}
	/**
	 * @return the having
	 */
	public String getHaving() {
		return having;
	}
	/**
	 * @param having the having to set
	 */
	public void setHaving(String having) {
		this.having = having;
	}
	/**
	 * @return the orderBy
	 */
	public String getOrderBy() {
		return orderBy;
	}
	/**
	 * @param orderBy the orderBy to set
	 */
	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}
	/**
	 * @return the limit
	 */
	public String getLimit() {
		return limit;
	}
	/**
	 * @param limit the limit to set
	 */
	public void setLimit(String limit) {
		this.limit = limit;
	}
	
}
